using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace DataLayer.Model
{
    public class IndoorExerciseType
    {
        [Key]
        public int Id { get; set; }

        [Required]
        [MaxLength(50)]
        public string Name { get; set; }

        public virtual ICollection<IndoorExercisePersonal> IndoorExercisePersonals { get; set; }

        public IndoorExerciseType()
        {
            this.IndoorExercisePersonals = new List<IndoorExercisePersonal>();
        }
    }
}
